﻿using System;
using System.Collections.Generic;

namespace ML.Entity
{
    /// <summary>
    /// 购物车中的订单实体信息
    /// </summary>
    public class CartOrders
    {
        /// <summary>
        /// 订单Id
        /// </summary>
        public string OrderId { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 商户Id
        /// </summary>
        public string MerchantId { get; set; }

        /// <summary>
        /// 商品优惠Id，如果传递则查询优惠信息写入(暂无优惠设置)
        /// </summary>
        public string DiscountPriceType { get; set; }

        /// <summary>
        /// 送达时间
        /// </summary>
        public DateTime ServiceTime { get; set; }

        /// <summary>
        /// 收货地址Id
        /// </summary>
        public string ReceivingAddressId { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public string PayMethod { get; set; }

        /// <summary>
        /// 用餐人数
        /// </summary>
        public int NumberOfMeals { get; set; }

        /// <summary>
        /// 红包类别
        /// </summary>
        public string RedPackageType { get; set; }

        /// <summary>
        /// 订单备注
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 用户OpenId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 订单详情信息
        /// </summary>
        public List<OrderDetailsEntity> Data { get; set; }
    }
}